import mx.managers.PopUpManager;
import mx.utils.StringUtil;

[Bindable]
public var dayNO:int;

public var dayRequireArray:Array = new Array();

private function initWindowPosition():void{
	this.x = (this.parentApplication.width - this.width)/2;
	this.y = (this.parentApplication.height - this.height)/2; 
}


private function addDayRequireHandler():void
{
	var dr:int = int(StringUtil.trim(this.drInput.text));
	this.dayRequireArray.push(dr);
	PopUpManager.removePopUp(this);
}

